package com.goudan.ojcloudserviceclient;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
@EnableDiscoveryClient //开启服务注册
@EnableFeignClients(basePackages = "com.goudan.ojcloudserviceclient.FeignClient")//开启feign客户端
public class OjCloudServiceClientApplication {

	public static void main(String[] args) {
		SpringApplication.run(OjCloudServiceClientApplication.class, args);
	}

}
